package com.shwread.android.ui.page.chat;

import android.app.Activity;
import android.os.Bundle;
import android.support.v4.widget.Space;
import android.view.View;

import com.shwread.android.qysw.activity.MainActivity;
import com.shwread.android.ui.page.AbstractUIPage;
import com.tgx.tina.android.ipc.framework.IUIPage;

import base.tina.core.task.infc.ITaskResult;

/**
 * 空位占位page
 */
public class EmptyPage extends AbstractUIPage<MainActivity> {

    public EmptyPage(MainActivity t) {
        super(t);
    }

    @Override
    public <E extends Activity> View createView(E arg0, int arg1) {
        curMyView = new Space(bActivity);
        return curMyView;
    }

    @Override
    public int enter(IUIPage<?> arg0) {
        return 0;
    }

    @Override
    public int leave(IUIPage<?> arg0) {
        return 0;
    }

    @Override
    public void notifyView(int arg0, Bundle arg1) {
    }

    @Override
    public void setStatus(int arg0) {

    }

    @Override
    public View updateView(int arg0, ITaskResult arg1) {
        return null;
    }
}
